Implemented themes' logic