moved all the sharedpreferences stuffs from MainActivity to MyKeyUtils