Intelligent toolbar