Fixed App Menu -> Quit action.
Implemented exp formula