One step at time. The point of all this is to break habits so if you are moving in the right direction then celebrate that. It's not the exact habit you want but it's moving in the right direction. Beating ourselves up only weakens our resolve for a better self. Keep it up.