First of all, in your photo, the leaves are yellowing during the vegetative stage - either the pH of the water is too high, or you're not adding enough nitrogen.
Secondly, you can switch to flowering when there are 4 "levels" of leaves. If you did topping, you need to wait a week.