ParentalControl: Simplify some code