Buttons now hide and show when appropriate