can switch selected object by clicking on new one