Added toggle button, retrieved and saved toggle state to SharedPreferences