title: Unable to store the device name in the shared preferences android
body: <p>Having a app where i enter the device name and store it in shared preference for future response. In case of mobile ( nexus) this works fine, i am able to store and retrieve the device name when logged in second time. but in case of tablet samsung galaxy the device name is entered every time when app is opened which is not correct. the device has to be entered only for the first time. </p>