autostart: use the ApplicationSelectionDialog to power the "Add new" button.

To accomplish this, an easy way to get the selection has been included in the ApplicationSelectionDialog class.