Done discard actionbar

Adds Done/Discard pattern to the UI when using action bar