private void refreshInfo() {
    int channelsCount = mModel.getChannelCount();
    mChannelLabel.setVisible(channelsCount > 1);
    mChannelScrollBar.setVisible(channelsCount > 1);

    mChannelLabel.setText(
        String.format("Channel: %s / %s", mModel.getCurrentChannel() + 1, channelsCount));
    mChannelScrollBar.setValue(mModel.getCurrentChannel());
    mChannelScrollBar.setMaximum(channelsCount);

    int zPlanesCount = mModel.getZPlanesCount();
    mZPlaneLabel.setVisible(zPlanesCount > 1);
    mZPlaneScrollBar.setVisible(zPlanesCount > 1);

    mZPlaneLabel.setText(
        String.format("Z plane: %s / %s", mModel.getCurrentZPlane() + 1, zPlanesCount));
    mZPlaneScrollBar.setValue(mModel.getCurrentZPlane());
    mZPlaneScrollBar.setMaximum(zPlanesCount);

    int timePointsCount = mModel.getTimePointCount();
    mTimePointScrollBar.setVisible(timePointsCount > 1);
    mTimePointLabel.setVisible(timePointsCount > 1);

    mTimePointLabel.setText(
        String.format("Time point: %s / %s", mModel.getCurrentTimePoint() + 1, timePointsCount));
    mTimePointScrollBar.setValue(mModel.getCurrentTimePoint());
    mTimePointScrollBar.setMaximum(timePointsCount);
  }