Init for savign Prefs on activity stop.