Handle state on config change on homeactivity