Cleaned more functionality. Added styles to the action bar and the custom dialog box.