Define a version of the MovieApplication class such that deactivating the application window, by clicking in another window, terminates the application.
MovieApplication