Added functionality to select gender from database

This selects the radio button on the Profile From page based on the
current value in the database.