Stored the groupHistory in SharedPreferences.
Added the key to Const.java, created the get/add History methods in AppData and implemented the update in MainActivity.onCreate()