Made sidebar working. Changed plugin type.