Improved modularity of code updating drone's health bar