Fixed hide/show action creation bug