NullRefException fixed

Fixed NPE on first opening with non-existing settings file