fixed a bug where objects weren't being added to taskObjects in ViewController