Rename self.frame to self.app