fix and remove duplicate logic for background color
save changes to completion status to nsuserdefaults added