added functions stubs on changind states for idle, add, edit and delete