Application Serial data manipulation

Hello everyone,
I´m developing an app in ionic which connects with a scale (via Ethernet) and I need to display each 2 secs the weight of the scale.
I´m using cz.blocshop.socketsforcordova to connect with the scale and everything is working.

The problem is that I´m using setinterval to display the new scales and I´m facing one issue:

Sometimes the buttons doesn´t work as expected and It seems to be blocked by a process (maybe the setinterval wich is global to the app) and I need to press several times to make it work.
Is there any chance to create the setinterval without this button behavior???

Thanks in advance!
Juan Luis