Frontend: Changed addition and subtraction of activity count