Issue with "device state change" display

The text « motion detected » and « no motion » doesn’t fit in the buttons