Pilot altered the plane’s course shortly before arrival to avoid thunderclouds and in the process forgot to inform ATC of the change