Track typing in compose screen and only update local storage on activity