Added setPressed