fix the bug when open the popup

1. the loop button's display
2.the fav button's display