Added on_key_release method.