adding repeat event filter and onRelease callback