Fix behavior of 'new' button

Crashed because of a silly too-many-args issue
Merge pull request #2 from orenhe/fix_new_button

Fix behavior of 'new' button