[IMP] Add functionality to add, edit record & on task resize save record & fix some bug