Add subscribe function to Panel, use it with AlphaRangePanel and mainPanel