Fixed bug: hide OpenButton when it is not needed
Merge pull request #43 from Leon-G/master

Fixed bug: hide OpenButton when it is not needed