set service to foreground during using