Add ButtonHandler logic. Add support for many VM.