to keep changing your mind or what you are doing
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition