Implemented both Edit button and override for Insert button