To Decide to Break the Fast during the Day

Intention Continuation
To Decide to Break the Fast during the Day
During a mustaḥabb fast or an obligatory one which is not time-specific, I decided to invalidate my fast but I changed my mind before doing anything. Is my fast valid?
In a mustaḥabb fast or an obligatory one which you are not required to do it on a specific day, If you decide to break your fast without doing a fast invalidator and intend to fast again before ‘noon’ — in a mustaḥabb fast by sunset, your fast is valid.
Source: Hadana adopted from the Istiftaat of the Grand Ayatollah Khamenei