Improvement: Prepare onActivityResult to recieve data from more than one activity
preparing to make cityManager activity
Added cityManager activity code
Added cityManager to the manifest file
Added a city item layout file
Defined the buttons in onCreate and implemented basic listeners
Added proper logic for loadCity and saveCity
Added <New City> and <Delete City> inside of save and load respectively
Reorganized the GUI and layout files
Added a new theme in styles.xml
Used the new theme for cityManager
Changed the view from Alert dialog to a listView to enable the listView features
like OnItemLongClickListener.
Added Parcel support for Profile class to allow exchanging between intents
Sent mainProfile to cityManager when saveCity is pressed
Recieved the new profile from MainActivity when saveCity is pressed
Added DatabaseHandler with functions: addProfile, getProfile, getAllProfiles, and deleteProfile
Created 'Enter city name" dialog layout
Added Profile constructor
Fixed crash in DatabaseHandler when using getProfile, deleteProfile with invalid city
Changed the input of deleteProfile to string
Added profileExists function
Made use of the new DatabaseHandler class to retrieve, save, load, and delete cities
Moved City Name loading logic to applyProfile
Added new layout for the first time run that asks for city name
Added a dialog to ask for city name when the app is run for the first time.
Added updateProfile function to DatabaseHandler class
Fix: made MapActivity return appropriate return codes.