Added keydown switching for themes