Removed now useless function called on popover