Fix invalid adding task for ipad.  [from iwamizawa]