fixed application showing up before selected