Refactor input accessory view