close program menu after clicking on a program