"When you understand the pattern, the habit stops feeling random."