change the theme file to compatible with lower api version