End of the previous commit (the setViewsVisible was missing).