Add key assigns around window manipulate