refactor Learning Activity