Minor tweak for button releases. Resolves issue #19.