Functioning db and display prev selected choices.