Move the input handler for sections to section editor module

Change-Id: I484df9a3c49a88032dbacf7b9d8b07e0281cb9fd