Removed unused AppPreferences file. Also now using displayToast instead of calling toasts locally.