Store active item in model