"ViewData" added, adding states, correction of UpdateEventHandler function, deleting unused function in some View files