refactoring the method name clearrow to removestoragerow
added edit functionality