Fix spell button's state