Copied simulationview. (Note hack: passing activity to simulation view because I am defining the view in xml.)