style: update button status by range startContainer's style