updated add_theme_page function on line 118

Was getting notices from WP_DEBUG; this edit seems to have fixed it.