Move erroneously place code from clear_cache() to admin_submit()