Moved MinimizeButton to separate file

Signed-off-by: Marius Avram <marius.avram1309@gmail.com>
Merge pull request #394 from marius-avram/B331-refactor

Moved MinimizeButton to separate file