Sravanthi | #1209 | Adding auto focus on variable dosing type first text box and also refactored auto focus code