Working app chooser, cleared code.