Refactor PreferencesCellRenderer.vala