Fixed small bugs when opening Options dialog and choosing project files