Cut a piece of code in onCreate().