Fixed `toggle_favorite` method on project

It uses `setValue:ForKey` to custom set the favorite attribute inside
the model.