Fix the safe area size and added UI popup