Convert dropdown menu to use cog icon