switch theme and close comment function