"premakro" works fine, when I press a button, it gets called.
The issue as I see, that somehow, HPWM statement, when duty cycle is less than 100%, disrupts the code.
I'm using hardware PWM generators at PORTC.1 for brightness control PWM, and PORTC.2 for alarm buzzer sound