Updated with implementation of onStartEdit. Now called with editing starts.