If else save/assign task button

yayyy! it works