Fixed a bug that did not display 'mark as completed' button if completed boolean was not initially set as false