Fixed bug: hide OpenButton when it is not needed