Fixing exception thrown when adding simple action to a DetailView action container