Obama tries to refocus message on economy amid summer setbacks