Fix up-navigation from View Task not working

When tested on Android 4.0.4 (Galaxy S2) the up-navigation did not work. Howver, it worked on Android 4.1.
Implemented a proper onOptionItemSelected method to handle the up-navigation properly.