Moved MinimizeButton to separate file