Fixed a bug on marking as resolved button