Added table selection when faocus changes in accounts