Changed the ordering of the screen and extended error checking to edit.
I need help in making the code neater using abstract/interfaces.