Nav buttons state control added

Now nav buttons are disabled when necessary