Last Minute Bug Fixes

Changed a bug where strings were being represented as numbers. Also
tried to fix a null pointer exception that occurs when the activity
tries to recover from being paused.