change gui to deligated actioncontroller