[JBIDE-18048] select all text only if we're selecting the button
[JBIDE-18052] use project name as name for new application