castoff button renamed as just cast

Simplify hideButton('x', false) as showButton('x')