Change setVisibility to show/hide

Use official API methods to show/hide instead of getting the decor and
setting visibility