Fate of a mutation in a fluctuating environment