MOD: just change code signature for running on iPhone.
FIX: wrong row number of all goal detail table.