Revert "Revert "SharedPreferences now working!""

This reverts commit 7609f9522b9a134e752fa327288cdc741162269b.