modified some button behaviour for on_release