change the tip class extend from Dialog to Activity