Fixed NullRef exception on first opening

Fixed NPE on first opening with non-existing settings file