styling and improved logging logic (stop logging if clicking on the same activity, start new log otherwise)