moved initializing of openFileDialog to function
Merge branch 'master' of https://github.com/ger0nim0/GraphicalEditor