Make popovercontroller readonly for public usage