Move activity to top of list when it's stopped
Make code more readable