Fixed theme functions for admin app