fix crash when save a task whitout set a effort left

Summary: http://mantis.monits.com/view.php?id=3213

Test Plan: test on device

Reviewers: jmsotuyo

Reviewed By: jmsotuyo

Subscribers: jmsotuyo

Differential Revision: http://ph.monits.com/D5255