Update ui_act.c

Formatting changes