title: Update service running on background
body: <p>I need to implement such a procedure:</p>
  
  <ol>
  <li>Start a background service</li>
  <li>Update the service with parameters (from UI - user input)</li>
  <li>After activity ended the service should keep on running and preform requests to HTTP server every minute. in this stage i still need the parameters I updated in the second stage - I send them to the server.</li>
  <li>The service should store the server last response and compere each with the last. if there is a change, notify the user. </li>
  <li>Finally, when the activity starts again, the service should update UI with latest the server response.</li>
  </ol>
  
  <p>What I tried:
  BroadcastReciver - The problem is after onRecive ended all the arguments which aren't declared as final will wipe out, as well as I didn't found a way to update the Intent being sent automatically every minute.</p>
  
  <p>Service - Using startService() - The problem is when the activity ended the service like stops and starts , flushing all it's arguments. and once  again I didn't figured out how to update the arguments after the service is already started.</p>
  
  <p>So how to handle such a situation?</p>
  
  <p>Thanks.</p>