Cleaned up code and changed some minor things

I formatted strings and added a hint to the edit text to follow the modern guidelines of building an application.