Editing flat controller and its views