Refactored onCreate() in ActivityAddTask. Database updating seems to be
fixed, but needs more testing to be sure.