Added SharedPreferance Method
Added SharedPreferances method