I have "writter's block". My mind is just "blank" and I have no clue how can I do this
Why don't you just form specific functions for specific tasks like for e.g. >> Add() function for adding and pass on the processed variables(after formulating them for unit place etc.) into the respective function after just checking the * for Add or equal button .