added volume restore based on headset state

Change-Id: Ib62045e4c60aa265d6597ea7796fcbafcd4a4222