Did some cleanup and removed some repeating lines in the code
trying to make styles work for save and sync handlers for todo views