Made ActionEvents work!