Adding functionality to edit dropdown and fixing styling