target sdk: 30 for some reason, the component is being redrawn continuously. I am not sure if it is supposed to work like this. 