main: Fix typo in action name

See: https://bugzilla.gnome.org/show_bug.cgi?id=708647
main: Remove unused variable