演示ActionBar、saveInstanceState和SharedPreferences