Toggle completed class according to model attr