Make sure if there are no options, it opens the first view