error on applaunch chooser,done button handling fixes.