controller added, buttons work and open subviews