Fixed Show/Hide label in Tray when minimizing; Added checkbox to OnCloseAplicationDialog which indicates if window shoud appear in future