Create and implement edit homework behavior