Replace the hint button with a flag icon

As per the new design. (The flag icon is temporary.)
trivial: remove unneeded variables