flag button changes depending on the flagged status of the current question