changed some functionality based on status bar plugin