Beware of the commit() method, as it may block your ui thread. Use apply() when possible.
Read more here:
srooltheknife.blogspot.com/2013/08/stackoverflow-programming.html