added mainpage to buttongroup