Simplify code (thanks: https://github.com/muojp/omnifocus-pivotaltracker/commit/5edbdce70b3f5357a58049a234df1413c2eecf17#commitcomment-4914428 )