add api for story theme switch. close #1