Optimization of Logic module. Changed menu colors.