Modify the layout to more user-friendly

 -Add the buttons to the top of an activity so that the keyboard does not
 overlap the action buttons and the user doesn't have to put away the
 keyboard before doing the action.