Adding logging when clicked on UI thread