Moved db-query for dropdownlist to the top (separated logic from presentation)