fixed a bug where the popup preference would get reset when hitting the contact button