Removed Quit button from Main activity. Renamed Quit to Restart for Status and Query activities. Refactored.