choosing colors and remember state on refresh
chaged pushstate to replacestate