Adding an Application class to hold sharedpref object