added switching between iteration algorithms when pressing omni button