Hello,
I am trying to work with checkboxes in gallery view and I am facing a bug.I am trying to update the table if the user checks or unchecks the checkbox.My screen looks like:

My commands on checkboxes are:
oncheck:Patch(MyActTasks,Gallery2.Selected,{is_completed:true})
onuncheck:Patch(MyActTasks,Gallery2.Selected,{is_completed:false})
default:false
So when I try to check the checkbox for the first time it appears and disappears but the patch works fine.it updates the value there but on screen it remains unchecked.This is one time problem after that the checkboxes works fine.Is something I can do differently so I can be able to elude this.
Kaushal