Program is closing

Press close button instead of X