add implicit for DialogInterface.OnClickListener
add .gitignore
minor refactoring
create options menu as xml resource instead
remove some empty lines + whitespace