Allow to switch view when no record is selected if the next view is not a form
For example when the first view is a graph and the next one is a list, we should not need to select a record to switch the view.
issue