cleaned setactivity