Mainform.cpp code cleanup
Mainform.cpp: use arguments with correct type for addRealTimeNote