adds input validation and fixes navigation (actionbar back buttons)

refactoring, cleanups and new TODOs
changes in database and DAO
changes in goal_list layout