Initialize app context before showing notification dialog.
Delete taskActivity when user close screen or ignore the task.
Close the activity when user cancel the dialog and send the response to server.
Use notification id to track notification instead of gcm_id + task_id.
Handle press back button on the dialog.