Added method in MainController to display a PopOver with a given text