Be sure to compile this as an apk.
it won't close in the Companion.
Also, don't ask to open Screens that aren't there. (MainScreen?)
Also, testing for "Bye" is very restrictive. It is looser to downcase the text and test for "bye".
Here is working code and proof ...
video (click it to watch all 28 seconds)


