The default idle animation for the avatar is 1. It looks like you want animation 7 to be the idle animation. Use the following to change the idle animation:
Code:
teacher.idlepose(7)
The avatar will automatically start this animation when the action action is completed. You can also disable the automatic idle animation by setting it to -1. This allows you to fully control which animation the avatar enters.