title: How to change default theme of application programatically?
body: <p>In my Android application I'm trying to implement changing <code>Theme</code>. I managed to change colors of everything I wanted and theming in runtime works well (I'm using <code>SharedPreferences</code> to store chosen color). </p>
  
  <p>However, when I turn on app from scratch, at first the default Theme is visible (<code>ActionBar</code> color, to be precise) and only after a second or two, when app is loading, color is changed to the one taken from <code>SharedPreferences</code>.</p>
  
  <p>So how can I change the default <code>Theme</code>? Or is there any way to change color visible while loading?</p>
  
  <p>UPDATE: I'm applying theme in <code>onCreate</code> and it's not enough.</p>