removed unused variables
reset last focused row after successful save